package com.szpx.controller;


import org.springframework.stereotype.Controller;

import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpSession;

@Controller
public class MoviefdController {

    @GetMapping ("/Movie_Schedule")
    public String Movie_Schedule(HttpSession session){

        return"wzq/Movie_Schedule";
     }

//    private final MovieFdServer    movieFdServer;
//
//    @Autowired
//    public MoviefdController(MovieFdServer movieFdServer){
//        this.movieFdServer = movieFdServer;
//    }
//
//    @GetMapping("/movie_fd")
//    public String searchMovies(@RequestParam(name = "name", required = false) String name,
//                               @RequestParam(name = "type", required = false) String type,
//                               @RequestParam(name = "uptime", required = false) String uptime,
//                               Model model) {
//        // 处理查询参数
//        // 查询电影并将结果传递到前端页面
    //覆盖
//        return "wzq/movie_fd";
}